<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <title>无数据页面</title>
    <link rel="stylesheet" type="text/css" href="../css/api.css" />
    <style media="screen">
        body {
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-flex-flow: column;
        }
        
        .header-msg {
            height: 10%;
            display: flex;
            justify-content: left;
            align-items: center;
            background: #3fd5a5;
        }

        #icon-img {
            width: 80%;
            height: 50%;
            display: flex;
            justify-content: left;
            align-items: center;
            margin-left: 30%;
        }

        .icon {
            width: 60%;
            height: auto;
        }

        .title {
            width: 30%;
            height: auto;
            font-size: 1.5rem;
            margin: auto;
            color: #fff;
        }

        .nodatamessage {
            height: 0;
            width: 80%;
            background-image: url('../image/nodata.png');
            background-position: center;
            background-size: 100%;
            margin: 0 auto;
            background-repeat: no-repeat;
            font-size: 1.5rem;
            color: #ccc;
            font-weight: 500;
            text-align: center;
            padding-top: 80%;
        }

        .touch-down {
            opacity: .4;
        }
    </style>
</head>

<body>
    <header></header>
    <section class="header-msg">
        <a class="btn-left" id="aui-btn" tapmode="touch-down">
            <section id="icon-img">
                <img src="../image/back-off.png" class="icon">
            </section>
        </a>
        <div class="title">奶羊录入</div>
    </section>
    <section class="nodatamessage">暂无数据</section>
    <footer></footer>
</body>
<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript" src="../script/request.js"></script>
<script type="text/javascript">
    //点击上一层返回
    function initFront() {
        var iconimg = $api.byId('icon-img')
        $api.addEvt(iconimg, 'touchend', function() {
            api.closeWin({
                name: 'nodata_win'
            });

        });
    }
    apiready = function() {
        initFront();
    }
</script>

</html>
